package org.suk.dp.observer;

/**
 * Description: 抽象观察者类<br/>
 * @version V1.0  2017/6/20 21:26  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public abstract class Observer {
    protected String name;
    protected Secretary secretary;

    public Observer(String name, Secretary secretary) {
        this.name = name;
        this.secretary = secretary;
    }

    abstract void update();
}
